--[[-- Author:      feilong-- DateTime:    2018-04-23 17:19:33-- Description: 节点的服务管理	为了更方便的取得节点中各服务的信息，--]]----------------------------------------------------------- class---------------------------------------------------------local Service = class("Manager")function Service:ctor(name)    self.handler = new("manager.handler")    self:register()endfunction Service:register()    g.dispatch:register('start', handler(self, self.onStart))    g.dispatch:register('close', handler(self, self.onClose))endfunction Service:onStart()    -- self.cluster_manager:open()    self.handler:onStart()    return trueendfunction Service:onClose()    return trueendreturn Service